package com.ssm.Dao;

import com.ssm.Utils.DBCPUtils;

public class delFavoritesDao {

    public Boolean delFavoritesDao(String pic){

        String sql="delete from myfavorites where picture=?";
        Object[] objects={pic};

        boolean b = DBCPUtils.executeUpdate(sql, objects);

//        System.out.println("B:"+b);
        return b;
    }
}
